package cn.hoichun.news.Domain;

public class Rating {
    private int userId;
    private int articleId;
    private double interest;

    public Rating() {
    }

    public Rating(int userId, int articleId, double interest) {
        this.userId = userId;
        this.articleId = articleId;
        this.interest = interest;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public double getInterest() {
        return interest;
    }

    public void setInterest(double interest) {
        this.interest = interest;
    }
}
